<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>

    <!-- 引入bootstrap框架的样式文件 -->
    <link rel="stylesheet" href="plugins/bootstrap/css/bootstrap.css" type="text/css">

    <style>
        #headerImg {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            padding: 5px;
        }

        @media all and (max-width: 768px) {
            #phone_btn {
                margin-top: 5px;
            }
        }
    </style>

</head>

<body>

    <!-- 响应式导航 - Start -->
    <div class="container-fluid">
        <div class="row">

            <nav class="navbar navbar-default" role="navigation">
                <div class="container-fluid">
                    <div class="navbar-header">
                        <button type="button" class="navbar-toggle" data-toggle="collapse"
                            data-target="#example-navbar-collapse">
                            <span class="sr-only">切换导航</span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                        </button>
                        <a class="navbar-brand" href="#">图书展示</a>
                    </div>
                    <div class="collapse navbar-collapse" id="example-navbar-collapse">
                        <ul class="nav navbar-nav navbar-right">
                            <li class="active"><a href="#">首页</a></li>
                            <li><a href="#" data-toggle="modal" data-target="#myModal">登录</a></li>
                            <li><a href="#">注册</a></li>

                            <li class="dropdown">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                    个人中心 <b class="caret"></b>
                                </a>
                                <ul class="dropdown-menu">
                                    <li><a href="#">jmeter</a></li>
                                    <li><a href="#">EJB</a></li>
                                    <li><a href="#">Jasper Report</a></li>
                                    <li class="divider"></li>
                                    <li><a href="#">分离的链接</a></li>
                                    <li class="divider"></li>
                                    <li><a href="#">另一个分离的链接</a></li>
                                </ul>
                            </li>
                            <li><img src="imgs/zly.jpg" id="headerImg"></li>
                        </ul>
                    </div>
                </div>
            </nav>
        </div>
    </div>
    <!-- 响应式导航 - end -->

    <!-- 模态框start -->
    <!-- 模态框（Modal） -->
    <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                    <h4 class="modal-title" id="myModalLabel">用户登录入口</h4>
                </div>
                <!-- 登录表单 -->
                <div class="modal-body">
                    <form class="form-horizontal" role="form">
                        <div class="form-group has-feedback">
                            <label for="firstname" class="col-sm-2 control-label">用户名</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="firstname" placeholder="请输入名字">
                                <span class="form-control-feedback glyphicon glyphicon-user"></span>
                            </div>
                        </div>
                        <div class="form-group has-feedback">
                            <label for="password" class="col-sm-2 control-label">密码</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="lastname" placeholder="请输入密码">
                                <span class="form-control-feedback glyphicon glyphicon-lock"></span>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-offset-2 col-sm-10">
                                <div class="checkbox">
                                    <label>
                                        <input type="checkbox">请记住我
                                    </label>
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-offset-2 col-sm-10">
                                <button type="submit" class="btn btn-default">登录</button>
                            </div>
                        </div>
                    </form>
                </div>

            </div><!-- /.modal-content -->
        </div><!-- /.modal -->
    </div>
    <!-- 模态框 end -->

    <!-- 更新表单区域start -->
    <div class="container">
        <div class="row">
            <form class="form-horizontal" role="form">
                <div class="form-group">
                    <label for="number" class="col-md-4 control-label">产品序号</label>
                    <div class="col-md-4">
                        <input type="text" class="form-control" id="number" placeholder="请输入产品序号">
                    </div>
                </div>
                <div class="form-group">
                    <label for="proname" class="col-md-4 control-label">产品名称</label>
                    <div class="col-md-4">
                        <input type="text" class="form-control" id="proname" placeholder="请输入产品名称">
                    </div>
                </div>
                <div class="form-group">
                    <label for="sumpro" class="col-md-4 control-label">购买数量</label>
                    <div class="col-md-4">
                        <input type="text" class="form-control" id="sumpro" placeholder="请输入购买数量">
                    </div>
                </div>
                <div class="form-group">
                    <label for="prodata" class="col-md-4 control-label">付款日期</label>
                    <div class="col-md-4">
                        <input type="text" class="form-control" id="prodata" placeholder="请输入付款日期">
                    </div>
                </div>

                <div class="form-group">
                    <label class="col-md-4 control-label">状态:</label>
                    <div class="col-md-4">
                        <p class="form-control-static">未付款</p>
                    </div>
                </div>
            
                <div class="form-group">
                    <div class="col-sm-offset-4 col-sm-10">
                        <button type="submit" class="btn btn-default btn-success">提交</button>
                    </div>
                </div>
            </form>
        </div>
    </div>

    <!-- 更新表单区域 end -->

    <!-- bootstrap中的js插件依赖于jquery框架,所有必须先引入jquery的js文件 -->
    <script src="plugins/jquery/jquery.min.js"></script>
    <!-- 引入bootstrap的js文件 -->
    <script src="plugins/bootstrap/js/bootstrap.js"></script>


</body>

</html>